<!doctype html>
<html>
  <head>
    <title>nav-drawer-panel</title>
    
    <script src="/assets/components/platform/platform.js"></script>

    <link rel="import" href="/assets/nav_components/nav-drawer-panel.html">
    
    <style>
    
      body {
        font-family: sans-serif;
        color: #FFF;
      }
      
      [drawer] {
        background-color: #B99588;
        border-right: 1px solid #ccc;
      }
      
      [main] {
        height: 100%;
        background-color: #4F7DC9;
      }
      
      button {
        width: 160px;
        height: 40px;
        font-size: 16px;
        margin: 8px;
      }
      
      
    </style>
    
  </head>
  
  <body unresolved>
  
    <nav-drawer-panel>
    
      <div drawer></div>
        
      <div main>
        <button onclick="document.querySelector('nav-drawer-panel').togglePanel();">toggle drawer</button>
      </div>
      
    </nav-drawer-panel>
    
  </body>
</html>
